package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.RecoveryLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yee_
 * @version 1.0
 * @date 2023/2/20 15:56
 */
@DS(DataSource.LOG)
public interface RecoveryLogMapper extends BaseMapper<RecoveryLog> {

    /**
     * 查询回收的车辆id
     * @param accountId 区域id
     * @param machineIds 车辆id
     * @return List<Integer>
     */
    List<Integer> selectByMachineIdList(@Param("accountId") Integer accountId, @Param("machineIds") List<Integer> machineIds);
}
